package com.example.demo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-10-03
 * Time: 17:51
 */


@Component
@Data
@ConfigurationProperties("dbtype") //读取配置文件中的集合
public class ReadList {
    public List<String> name;
}
